package cn.iocoder.yudao.module.promotion.convert.shortlinkdetail;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.promotion.controller.admin.shortlinkdetail.vo.ShortLinkDetailCreateReqVO;
import cn.iocoder.yudao.module.promotion.controller.admin.shortlinkdetail.vo.ShortLinkDetailExcelVO;
import cn.iocoder.yudao.module.promotion.controller.admin.shortlinkdetail.vo.ShortLinkDetailRespVO;
import cn.iocoder.yudao.module.promotion.controller.admin.shortlinkdetail.vo.ShortLinkDetailUpdateReqVO;
import cn.iocoder.yudao.module.promotion.dal.dataobject.shortlinkdetail.ShortLinkDetailDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 短链接列 Convert
 *
 * @author 超级管理员
 */
@Mapper
public interface ShortLinkDetailConvert {

    ShortLinkDetailConvert INSTANCE = Mappers.getMapper(ShortLinkDetailConvert.class);

    ShortLinkDetailDO convert(ShortLinkDetailCreateReqVO bean);

    ShortLinkDetailDO convert(ShortLinkDetailUpdateReqVO bean);

    ShortLinkDetailRespVO convert(ShortLinkDetailDO bean);

    List<ShortLinkDetailRespVO> convertList(List<ShortLinkDetailDO> list);

    PageResult<ShortLinkDetailRespVO> convertPage(PageResult<ShortLinkDetailDO> page);

    List<ShortLinkDetailExcelVO> convertList02(List<ShortLinkDetailDO> list);

}
